package org.java8newfeature.optional;

import lombok.AllArgsConstructor;
import lombok.Data;

@Data
@AllArgsConstructor
public class User {
    String name;

    void eat(String food) {
        System.out.println("eat " + food);
    }
}
